<html>
<head>
</head>
<body>
<div class="col-sm-12">
    <div class="animated fadeIn">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>部门管理 <small>部门列表</small></h5>
                <div class="ibox-tools">
                    <a class="collapse-link">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div id="toolbar">
                    <@shiro.hasPermission name="/permission/department/create">
                    <button id="addBtn" type="button" class="btn btn-primary btn-sm dropdown-toggle" onclick="Department.create()"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增</button>
                </@shiro.hasPermission>
                <@shiro.hasPermission name="/permission/department/delete">
                <button id="removeBtn" type="button" class="btn btn-primary btn-sm dropdown-toggle" onclick="Department.del()"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
                </button>
            </@shiro.hasPermission>
        </div>
        <div id="btb"></div>
        <table id="deptGrid"></table>
    </div>
</div>
    </div>
</div>
<!--End-span12-->
<script src="${ctx}/public/js/business/User.js"></script>
<script src="${ctx}/public/js/business/Organization.js"></script>
<script src="${ctx}/public/js/business/Department.js"></script>
<script>
    $(function () {
       Department.initBsGrid("#deptGrid");
    });
</script>
</body>
</html>

